import { createRouter, createWebHistory } from 'vue-router'
const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('../views/index.vue')
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/two.vue')
  },
  {
    path: '/gdMap',
    name: 'gdMap',
    component: () => import('../views/gdMap/index.vue')
  }
  ,
  {
    path: '/imgToText',
    name: 'imgToText',
    component: () => import('../views/imgToText/index.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
